Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetFieldOfView

You can use the QTVRGetFieldOfView function to get the vertical field of view of a QuickTime VR movie.

float QTVRGetFieldOfView (QTVRInstance qtvr);
qtvr
An instance of a QuickTime VR movie.
function result
The current vertical field of view of the specified movie.

DESCRIPTION

The QTVRGetFieldOfView function returns, as its function result, the current vertical field of view of the QuickTime VR movie specified by the qtvr parameter. The vertical field of view is a floating-point value that specifies the angle created by the two lines that connect the viewpoint to the top and bottom of the image.

SEE ALSO

Use QTVRSetFieldOfView (next) to set the vertical field of view of a QuickTime VR movie. Listing 2-5 illustrates the use of QTVRGetFieldOfView .


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |